Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

VerveWireless/devices_rails

Repository files navigation

DevicesRails

This project rocks and uses MIT-LICENSE.

# Gemfile

gem 'devices_rails'
/* application.css
 *= require devices_rails/devices
 */
class ApplicationController < ActionController::Base
  helper DevicesRails::Engine.helpers
end
<%= iphone6_tag do %>
  <iframe src="http://tags.vervemobile.com/creatives/Zgm1gV/preview.html" width="375" height="667" style="border: none;"></iframe>
<% end %>

<%= iphone6plus_tag color: 'gold' do %>
  <iframe src="http://tags.vervemobile.com/creatives/Zgm1gV/preview.html" style="border: none; width: 100%; height: 100%;" scrolling="no"></iframe>
<% end %>

<%= ipad_tag color: 'gold' do %>
  <iframe src="http://tags.vervemobile.com/creatives/Zgm1gV/preview.html" style="border: none; width: 100%; height: 100%;" scrolling="no"></iframe>
<% end %>

<%= ipad_native_tag color: 'gold' do %>
  <iframe src="http://tags.vervemobile.com/creatives/Zgm1gV/preview.html" style="border: none; width: 100%; height: 100%;" scrolling="no"></iframe>
<% end %>