Class: Chord::Subscription

Inherits:
Base
  • Object
show all
Defined in:
lib/chord.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #id

Instance Method Summary collapse

Methods inherited from Base

all, #base_path, #base_url, base_url, #delete, #expand!, find, #http_options, http_options, #initialize, #method_missing, #update, where

Constructor Details

This class inherits a constructor from Chord::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Chord::Base

Instance Method Details

#userObject



256
257
258
259
# File 'lib/chord.rb', line 256

def user
  u = attributes['user']
  Chord::User.new(u['id'], u)
end