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



797
798
799
# File 'lib/fizzy/generated/types.rb', line 797

def token
  @token
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



799
800
801
802
803
# File 'lib/fizzy/generated/types.rb', line 799

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