Class: CapsuleCRM::Website

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
ActiveModel::Validations, Serializable
Defined in:
lib/capsule_crm/website.rb

Instance Method Summary collapse

Methods included from Serializable

included, #serializer, #to_capsule_json

Constructor Details

#initialize(attributes = {}) ⇒ Website

Returns a new instance of Website.



21
22
23
24
# File 'lib/capsule_crm/website.rb', line 21

def initialize(attributes = {})
  CapsuleCRM::HashHelper.underscore_keys!(attributes)
  super(attributes)
end