class Jess::Connection
Provides a high-level facade for operations of the JSS API. This is the primary interface for all operations provided by the Jess
gem.
Attributes
http_client[R]
Public Class Methods
new(http_client)
click to toggle source
# File lib/jess/connection.rb, line 7 def initialize(http_client) @http_client = http_client end
Public Instance Methods
computers()
click to toggle source
# File lib/jess/connection.rb, line 11 def computers @computers ||= Computers.new(http_client) end
inspect()
click to toggle source
# File lib/jess/connection.rb, line 19 def inspect "Jess::Connection<#{http_client.inspect}>" end
mobile_devices()
click to toggle source
# File lib/jess/connection.rb, line 15 def mobile_devices @mobile_devices ||= MobileDevices.new(http_client) end