Sha256: 4d13ed19876c32e47fc91ffe13802fd5ed10634ab61ed57431936a50e640652e

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

module Soundcloud
  module Models
    
    # Soundcloud Event resource
    #
    # 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.5 lib/soundcloud/models/event.rb