Class: RfidApi::SocialAccount

Inherits:
Client
  • Object
show all
Defined in:
lib/rfid_api/social_account.rb

Instance Attribute Summary

Attributes inherited from Client

#destroyed

Instance Method Summary collapse

Methods inherited from Client

all, create, #datetime, #destroy, destroy, #destroyed?, #errors, #errors=, find, #initialize, model_name, #new_record?, #persisted?, #read_attribute, resource_name, resource_name=, #save, #to_key, #to_param, update, #valid?, #write_attribute

Constructor Details

This class inherits a constructor from RfidApi::Client

Instance Method Details

#cards(options = {}) ⇒ Object



5
6
7
# File 'lib/rfid_api/social_account.rb', line 5

def cards(options = {})
  resources get("/#{plural_name}/#{_id}/cards.#{format}", :query => options)
end