Sha256: 77ca91a99f3fc9c7b35f5c1fb41cf46fc755d3f5d481f10034421a3aac61e788

Contents?: true

Size: 291 Bytes

Versions: 8

Compression:

Stored size: 291 Bytes

Contents

module Whatser
  class Subscription < Whatser::Resource
    attr_accessor :id,:data_source_id
    attr_accessor :data_source_name,:created_at
    
    class << self
      def list(params={})
        api_request :get, "/api/subscriptions", {:query => params}
      end
    end      
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
whatser-0.6.1 lib/whatser/resources/subscription.rb
whatser-0.6.0 lib/whatser/resources/subscription.rb
whatser-0.5.0 lib/whatser/resources/subscription.rb
whatser-0.4.0 lib/whatser/resources/subscription.rb
whatser-0.3.2 lib/whatser/resources/subscription.rb
whatser-0.3.1 lib/whatser/resources/subscription.rb
whatser-0.3.0 lib/whatser/resources/subscription.rb
whatser-0.2.0 lib/whatser/resources/subscription.rb