Class: CapsuleCRM::Website

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

Instance Method Summary collapse

Methods included from Serializable

included, #serializer, #to_capsule_json

Methods included from Inspector

#inspect

Constructor Details

#initialize(attributes = {}) ⇒ Website

Returns a new instance of Website.



23
24
25
26
# File 'lib/capsule_crm/website.rb', line 23

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