Sha256: 3dd013103c6bdbf393dc45315deb92f917529b98859c72afcefe5becd55cf259

Contents?: true

Size: 306 Bytes

Versions: 25

Compression:

Stored size: 306 Bytes

Contents

module Flydata
  module Api
    class DataPort < Base
      def initialize(api_client)
        @model_name = 'data_port'
        @url_path = "/#{@model_name.pluralize}"
        super
      end
      def get
        # currently one user has one data port
        self.list.first
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
flydata-0.0.3.8 lib/flydata/api/data_port.rb
flydata-0.0.3.7 lib/flydata/api/data_port.rb
flydata-0.0.3.6 lib/flydata/api/data_port.rb
flydata-0.0.3.5 lib/flydata/api/data_port.rb
flydata-0.0.3.4 lib/flydata/api/data_port.rb
flydata-0.0.3.3 lib/flydata/api/data_port.rb
flydata-0.0.3.2 lib/flydata/api/data_port.rb
flydata-0.0.3.1 lib/flydata/api/data_port.rb
flydata-0.0.3 lib/flydata/api/data_port.rb
flydata-0.0.3.rc1 lib/flydata/api/data_port.rb
flydata-0.0.2.3 lib/flydata/api/data_port.rb
flydata-0.0.2.2 lib/flydata/api/data_port.rb
flydata-0.0.2.1 lib/flydata/api/data_port.rb
flydata-0.0.2 lib/flydata/api/data_port.rb
flydata-0.0.2.rc1 lib/flydata/api/data_port.rb
flydata-0.0.1.2011102901 lib/flydata/api/data_port.rb
flydata-0.0.1.nc2 lib/flydata/api/data_port.rb
flydata-0.0.1.nc1 lib/flydata/api/data_port.rb
flydata-0.0.1.2011102602 lib/flydata/api/data_port.rb
flydata-0.0.1.2011102601 lib/flydata/api/data_port.rb