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



765
766
767
# File 'lib/fizzy/generated/types.rb', line 765

def bundle_email_frequency
  @bundle_email_frequency
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



767
768
769
770
771
# File 'lib/fizzy/generated/types.rb', line 767

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