Class: Fizzy::Types::RedeemMagicLinkRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



808
809
810
# File 'lib/fizzy/generated/types.rb', line 808

def token
  @token
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



810
811
812
813
814
# File 'lib/fizzy/generated/types.rb', line 810

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