Class: Fizzy::Types::NotificationSettings

Inherits:
Data
  • Object
show all
Defined in:
lib/fizzy/generated/types.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bundle_email_frequencyObject (readonly)

Returns the value of attribute bundle_email_frequency

Returns:

  • (Object)

    the current value of bundle_email_frequency



754
755
756
# File 'lib/fizzy/generated/types.rb', line 754

def bundle_email_frequency
  @bundle_email_frequency
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



756
757
758
759
760
# File 'lib/fizzy/generated/types.rb', line 756

def self.from_json(data)
  new(
    bundle_email_frequency: data["bundle_email_frequency"]
  )
end