Class: Internode::Service
Instance Attribute Summary
Attributes inherited from Resource
#client, #path
Instance Method Summary
collapse
Methods inherited from Resource
#content, content_attr, #initialize
Instance Method Details
#details ⇒ Object
11
12
13
|
# File 'lib/internode/service.rb', line 11
def details
@details ||= Details.new(client: client, path: details_path)
end
|
#id ⇒ Object
3
4
5
|
# File 'lib/internode/service.rb', line 3
def id
service.text
end
|
#type ⇒ Object
7
8
9
|
# File 'lib/internode/service.rb', line 7
def type
service.attr("type").text
end
|
#usage ⇒ Object
15
16
17
|
# File 'lib/internode/service.rb', line 15
def usage
@usage ||= Usage.new(client: client, path: usage_path)
end
|