Module: Ruby::Miradore

Defined in:
lib/ruby/miradore.rb,
lib/ruby/miradore/version.rb

Overview

Ruby::Miradore module Miradore has two main API versions, v1 and v2. The v1 version is used to retrieve devices based on filters and the v2 version is used to retrieve a device based on the ID and perform actions on the device. The v1 version works with XML and it’s used to perform CRUD operations on users, groups, categories, and devices. The v2 version works with JSON and it’s used to perform actions on devices.

Examples:

Usage example for Ruby::Miradore

Ruby::Miradore::Device.new(subdomain: 'subdomain', auth: 'api_token').all(attribute: 'InvDevice.*,InvOS.*,InvStorage.*,Security.*,Location.*,Enrollment.*,User.*')

See Also:

Defined Under Namespace

Classes: Device, Organization, Request, User

Constant Summary collapse

VERSION =
'4.4.4'

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Setup data from initializer

Yields:

  • (_self)

Yield Parameters:



52
53
54
# File 'lib/ruby/miradore.rb', line 52

def self.setup
  yield(self)
end