Class: AFCSalesforce::Base
- Inherits:
-
Object
- Object
- AFCSalesforce::Base
- Extended by:
- Models::Concerns::TypeSetter
- Defined in:
- lib/afc_salesforce/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Models::Concerns::TypeSetter
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
5 6 7 8 9 |
# File 'lib/afc_salesforce/base.rb', line 5 def initialize(={}) .each do |attribute_name, attribute_value| self.send("#{attribute_name}=".to_sym, attribute_value) end end |