Class: Pushybullet::Types::PushRequest
- Inherits:
-
Object
- Object
- Pushybullet::Types::PushRequest
- Includes:
- Concerns::FromHash, Concerns::ToHash
- Defined in:
- lib/pushybullet/types/push_request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
strings.
-
#channel_tag ⇒ Object
strings.
-
#client_iden ⇒ Object
strings.
-
#device_iden ⇒ Object
strings.
-
#email ⇒ Object
strings.
-
#file_name ⇒ Object
strings.
-
#file_type ⇒ Object
strings.
-
#file_url ⇒ Object
strings.
-
#guid ⇒ Object
strings.
-
#source_device_iden ⇒ Object
strings.
-
#title ⇒ Object
strings.
-
#type ⇒ Object
strings.
-
#url ⇒ Object
strings.
Instance Method Summary collapse
Methods included from Concerns::ToHash
Methods included from Concerns::FromHash
Instance Attribute Details
#body ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def body @body end |
#channel_tag ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def channel_tag @channel_tag end |
#client_iden ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def client_iden @client_iden end |
#device_iden ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def device_iden @device_iden end |
#email ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def email @email end |
#file_name ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def file_name @file_name end |
#file_type ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def file_type @file_type end |
#file_url ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def file_url @file_url end |
#guid ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def guid @guid end |
#source_device_iden ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def source_device_iden @source_device_iden end |
#title ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def title @title end |
#type ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def type @type end |
#url ⇒ Object
strings
12 13 14 |
# File 'lib/pushybullet/types/push_request.rb', line 12 def url @url end |
Instance Method Details
#target=(target) ⇒ Object
16 17 18 |
# File 'lib/pushybullet/types/push_request.rb', line 16 def target=(target) instance_variable_set("@#{target.key}", target.value) unless target.nil? end |