Class: Tikkie::Api::V1::Responses::Platform
- Inherits:
-
Base
- Object
- Base
- Tikkie::Api::V1::Responses::Platform
show all
- Defined in:
- lib/tikkie/api/v1/responses/platform.rb
Overview
Response when requesting a platform.
Instance Attribute Summary
Attributes inherited from Base
#data, #response
Instance Method Summary
collapse
Methods inherited from Base
#error?, #errors, #initialize, #response_code, #success?, #trace_id
Instance Method Details
#email ⇒ Object
21
22
23
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 21
def email
data[:email]
end
|
#name ⇒ Object
13
14
15
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 13
def name
data[:name]
end
|
#notification_url ⇒ Object
25
26
27
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 25
def notification_url
data[:notificationUrl]
end
|
#phone_number ⇒ Object
17
18
19
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 17
def phone_number
data[:phoneNumber]
end
|
9
10
11
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 9
def platform_token
data[:platformToken]
end
|
39
40
41
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 39
def platform_usage
data[:platformUsage]
end
|
#status ⇒ Object
30
31
32
|
# File 'lib/tikkie/api/v1/responses/platform.rb', line 30
def status
data[:status]
end
|