Sha256: 5c2598c34c60995cc6eb2382e0190bdb173c0bc6bdac7aedd61af7c98ef510c0

Contents?: true

Size: 195 Bytes

Versions: 2

Compression:

Stored size: 195 Bytes

Contents

module DeviceAtlasApi
  module ControllerHelpers

    def get_device_data
      client = DeviceAtlasApi::Client.new(request.env['HTTP_USER_AGENT'])
      client.get_device_data
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deviceatlasapi-0.0.2 lib/deviceatlasapi/controller.rb
deviceatlasapi-0.0.1 lib/deviceatlasapi/controller.rb