Sha256: 1b8adaf1d2e995586f73207583fb1afa9bd9b4a59b7eb3a4c7155e6f71266b3e
Contents?: true
Size: 272 Bytes
Versions: 4
Compression:
Stored size: 272 Bytes
Contents
module SimpleMDM class DeviceGroup < Base def self.all hash, code = fetch("device_groups") hash['data'].collect { |d| build d } end def self.find(id) hash, code = fetch("device_groups/#{id}") build hash['data'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
simplemdm-1.0.0 | lib/simplemdm/device_group.rb |
simplemdm-0.2.0 | lib/simplemdm/device_group.rb |
simplemdm-0.1.1 | lib/simplemdm/device_group.rb |
simplemdm-0.1.0 | lib/simplemdm/device_group.rb |