Class: ApRubySdk::PhoneVerification

Inherits:
ApiResource show all
Includes:
ApiOperations::Create, ApiOperations::CreatePhoneVerification
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::CreatePhoneVerification

included

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.



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

def key
  @key
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end

#pinObject

Returns the value of attribute pin.



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

def pin
  @pin
end

#tokenObject

Returns the value of attribute token.



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

def token
  @token
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

Class Method Details

.urlObject



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

def self.url
  '/phoneverification'
end