Class: Deadwood::Katello::Organization

Inherits:
Base
  • Object
show all
Defined in:
lib/deadwood/model/organization.rb

Instance Method Summary collapse

Methods inherited from Base

#collection_path, collection_path, config, config=, element_path, get, instantiate_collection, #load_attributes_from_response, #query_string, use_oauth?

Instance Method Details

#element_path(id, prefix_options = {}, query_options = nil) ⇒ Object



24
25
26
# File 'lib/deadwood/model/organization.rb', line 24

def element_path(id, prefix_options = {}, query_options = nil)
  "#{self.class.prefix(prefix_options)}#{self.class.collection_name}/#{self.name}"
end