Class: Tikkie::Api::Responses::Platform
- Inherits:
-
Base
- Object
- Base
- Tikkie::Api::Responses::Platform
show all
- Defined in:
- lib/tikkie/api/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
20
21
22
|
# File 'lib/tikkie/api/responses/platform.rb', line 20
def email
data[:email]
end
|
#name ⇒ Object
12
13
14
|
# File 'lib/tikkie/api/responses/platform.rb', line 12
def name
data[:name]
end
|
#notification_url ⇒ Object
24
25
26
|
# File 'lib/tikkie/api/responses/platform.rb', line 24
def notification_url
data[:notificationUrl]
end
|
#phone_number ⇒ Object
16
17
18
|
# File 'lib/tikkie/api/responses/platform.rb', line 16
def phone_number
data[:phoneNumber]
end
|
8
9
10
|
# File 'lib/tikkie/api/responses/platform.rb', line 8
def platform_token
data[:platformToken]
end
|
38
39
40
|
# File 'lib/tikkie/api/responses/platform.rb', line 38
def platform_usage
data[:platformUsage]
end
|
#status ⇒ Object
29
30
31
|
# File 'lib/tikkie/api/responses/platform.rb', line 29
def status
data[:status]
end
|