Class: Billy::Addon
Instance Attribute Summary
Attributes inherited from BaseModel
Class Method Summary collapse
Methods inherited from BaseModel
Constructor Details
This class inherits a constructor from Billy::BaseModel
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Billy::BaseModel
Class Method Details
.find(permalink) ⇒ Object
4 5 6 7 |
# File 'lib/billy/addon.rb', line 4 def self.find(permalink) attributes = Billy::Request.request('product/addon', :permalink => permalink) attributes.is_a?(Hash) ? self.new(attributes) : nil end |