Sha256: 4a0833c5b149aff0e3a5300b0de1559421438b0171fdd045fb8c89903ac56d5b

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

module Soundcloud
  module Models
    # Look up the resource attributes and filtering usage here:
    #
    # http://wiki.github.com/soundcloud/api/documentation#event
    #
    # Examples:
    #
    #   # find the last 50 (default soundcloud limit) dropbox events    
    #   sc_client.Event.find(:all,:params => {:filter => 'drop'})
    #    
    #   # find the last 50 (default soundcloud limit)  events    
    #   sc_client.Event.find(:all)
    #
    class Event < Base    
      belongs_to :user, :track
      cattr_accessor :element_name    
      self.element_name = 'event'
    end    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soundcloud-ruby-api-wrapper-0.1.6 lib/soundcloud/models/event.rb