Class: ApRubySdk::PhoneVerification

Inherits:
ApiResource show all
Includes:
ApiOperations::Create
Defined in:
lib/ap_ruby_sdk/phone_verification.rb

Instance Attribute Summary collapse

Attributes inherited from ApiResource

#mode

Attributes inherited from BaseModel

#created, #id, #mode, #updated

Class Method Summary collapse

Methods included from ApiOperations::Create

included

Methods inherited from ApiResource

construct_object, list_members, url_with_prefix

Methods inherited from BaseModel

#attributes=, #initialize, #to_json

Constructor Details

This class inherits a constructor from ApRubySdk::BaseModel

Instance Attribute Details

#keyObject

Returns the value of attribute key.



5
6
7
# File 'lib/ap_ruby_sdk/phone_verification.rb', line 5

def key
  @key
end

#phoneObject

Returns the value of attribute phone.



5
6
7
# File 'lib/ap_ruby_sdk/phone_verification.rb', line 5

def phone
  @phone
end

#pinObject

Returns the value of attribute pin.



5
6
7
# File 'lib/ap_ruby_sdk/phone_verification.rb', line 5

def pin
  @pin
end

#tokenObject

Returns the value of attribute token.



5
6
7
# File 'lib/ap_ruby_sdk/phone_verification.rb', line 5

def token
  @token
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/ap_ruby_sdk/phone_verification.rb', line 5

def type
  @type
end

Class Method Details

.urlObject



11
12
13
# File 'lib/ap_ruby_sdk/phone_verification.rb', line 11

def self.url
  '/phoneverification'
end