Class: Twizo::BackupCodesParams

Inherits:
Params
  • Object
show all
Defined in:
lib/twizo/modules/params/backup_codes_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Params

#format_input, #format_to_array

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



7
8
9
# File 'lib/twizo/modules/params/backup_codes_params.rb', line 7

def identifier
  @identifier
end

Instance Method Details

#to_jsonObject



9
10
11
12
13
14
15
# File 'lib/twizo/modules/params/backup_codes_params.rb', line 9

def to_json
  json = {
      :identifier => identifier
  }

  json.to_json
end