Class: Twizo::BackupCodesParams
- Defined in:
- lib/twizo/modules/params/backup_codes_params.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
Instance Method Summary collapse
Methods inherited from Params
#format_input, #format_to_array
Instance Attribute Details
#identifier ⇒ Object
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_json ⇒ Object
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 |