Class: Jamf::Ebook
- Includes:
- Sitable
- Defined in:
- lib/jamf/api/classic/api_objects/ebook.rb
Overview
This is just a stub for now.
Constant Summary collapse
- RSRC_BASE =
The base for REST resources of this class
'ebooks'.freeze
- RSRC_LIST_KEY =
the hash key used for the JSON list output of all objects in the JSS
:ebooks
- RSRC_OBJECT_KEY =
The hash key used for the JSON object output. It's also used in various error messages
:ebook
- OBJECT_HISTORY_OBJECT_TYPE =
the object type for this object in the object history table. See APIObject#add_object_history_entry
24
- SITE_SUBSET =
Where is the Site data in the API JSON?
:general
Instance Method Summary collapse
-
#site=(new_site) ⇒ void
included
from Sitable
Change the site of this object.
-
#site_assigned? ⇒ Boolean
included
from Sitable
Does this object have a site assigned?.
-
#site_id ⇒ Integer
included
from Sitable
The id of the site for this object.
-
#site_name ⇒ String
(also: #site)
included
from Sitable
The name of the site for this object.
-
#site_object ⇒ Jamf::Site
included
from Sitable
The Jamf::Site instance for this object's site.
-
#unset_site ⇒ void
included
from Sitable
Set the site to nothing.
Constructor Details
This class inherits a constructor from Jamf::APIObject
Instance Method Details
#site=(new_site) ⇒ void Originally defined in module Sitable
This method returns an undefined value.
Change the site of this object. Any of the NON_SITES values will unset the site
#site_assigned? ⇒ Boolean Originally defined in module Sitable
Does this object have a site assigned?
#site_id ⇒ Integer Originally defined in module Sitable
The id of the site for this object.
#site_name ⇒ String Also known as: site Originally defined in module Sitable
The name of the site for this object. For backward compatibility, this is aliased to just 'site'
#site_object ⇒ Jamf::Site Originally defined in module Sitable
The Jamf::Site instance for this object's site
#unset_site ⇒ void Originally defined in module Sitable
This method returns an undefined value.
Set the site to nothing