Class: TableauServerClient::Resources::Job
- Defined in:
- lib/tableau_server_client/resources/job.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Methods inherited from Resource
attr_reader, attributes, #attributes, #delete!, extract_attributes, extract_site_path, #initialize, location, #location, #path, plural_resource_name, resource_name, #server_url, #site_id, #site_path
Methods included from TableauServerClient::RequestBuilder
Constructor Details
This class inherits a constructor from TableauServerClient::Resources::Resource
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/tableau_server_client/resources/job.rb', line 8 def id @id end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
8 9 10 |
# File 'lib/tableau_server_client/resources/job.rb', line 8 def mode @mode end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'lib/tableau_server_client/resources/job.rb', line 8 def type @type end |
Class Method Details
.from_response(client, path, xml) ⇒ Object
10 11 12 13 |
# File 'lib/tableau_server_client/resources/job.rb', line 10 def self.from_response(client, path, xml) attrs = extract_attributes(xml) new(client, path, attrs) end |