Method: KlaviyoAPI::Timeframe.build_from_hash

Defined in:
lib/klaviyo-api-sdk/models/timeframe.rb

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



141
142
143
# File 'lib/klaviyo-api-sdk/models/timeframe.rb', line 141

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end