Method: Jamf::Purchasable#purchasing
- Defined in:
- lib/jamf/api/classic/api_objects/purchasable.rb
#purchasing ⇒ Hash<String>
All the purchasing data in a Hash, as it comes from the API.
The reason it isn’t stored this way is to prevent editing of the hash directly.
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/jamf/api/classic/api_objects/purchasable.rb', line 229 def purchasing { applecare_id: @applecare_id, is_leased: @is_leased, is_purchased: @is_purchased, lease_expires: @lease_expires, life_expectancy: @life_expectancy, po_date: @po_date, po_number: @po_number, purchase_price: @purchase_price, purchasing_account: @purchasing_account, purchasing_contact: @purchasing_contact, vendor: @vendor, warranty_expires: @warranty_expires } end |