Class: Fera::Store

Inherits:
Base
  • Object
show all
Includes:
ActiveResource::Singleton
Defined in:
lib/fera/models/store.rb

Instance Attribute Summary

Attributes inherited from Base

#last_response, #last_response_body, #last_response_exception, #last_response_message, #options

Class Method Summary collapse

Methods inherited from Base

api_key, api_key=, belongs_to, belongs_tos, #clone_selected_fields, #clone_with_nil, #create, create, #create!, create!, #created_at=, #destroy!, find_every, find_one, find_single, has_many, has_manys, has_one, has_ones, headers, headers=, #initialize, #known_attribute?, #load, #method_missing, new_element_path, order, #respond_to_missing?, #save, #save!, #set_last_response, #update, #update!, #updated_at=, #valid?

Constructor Details

This class inherits a constructor from Fera::Base

Dynamic Method Handling

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

Class Method Details

.current(options = {}) ⇒ Object



7
8
9
# File 'lib/fera/models/store.rb', line 7

def self.current(options = {})
  find(options)
end