Class: Sidemash::Sdk::HookZoom
- Inherits:
-
Hook
- Object
- Hook
- Sidemash::Sdk::HookZoom
show all
- Defined in:
- lib/sidemash/sdk/hook_zoom.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Hook
#http_call?, #not_http_call?, #not_ws_call?, #ws_call?
Constructor Details
Returns a new instance of HookZoom.
5
6
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 5
def initialize()
end
|
Class Method Details
._type ⇒ Object
8
9
10
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 8
def self._type
'Hook.Zoom'
end
|
.from_hash(h) ⇒ Object
29
30
31
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 29
def self.from_hash(h)
HookZoom.new()
end
|
.from_json(js) ⇒ Object
12
13
14
15
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 12
def self.from_json(js)
h = JSON.parse(js)
HookZoom.from_hash(h)
end
|
.from_remote(h) ⇒ Object
25
26
27
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 25
def self.from_remote(h)
HookZoom.new()
end
|
Instance Method Details
#to_hash ⇒ Object
21
22
23
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 21
def to_hash
result[:_type] = @_type
end
|
#to_json(*a) ⇒ Object
33
34
35
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 33
def to_json(*a)
to_hash.to_json(*a)
end
|
#to_remote ⇒ Object
17
18
19
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 17
def to_remote
result[:_type] = @_type
end
|
#to_s ⇒ Object
37
38
39
|
# File 'lib/sidemash/sdk/hook_zoom.rb', line 37
def to_s
'HookZoom'
end
|