class SimpleMDM::Account

Public Class Methods

new() click to toggle source
# File lib/simplemdm/account.rb, line 7
def initialize
  hash, code = SimpleMDM::Base.fetch("account")

  self['name'] = hash['data']['attributes']['name']
end

Public Instance Methods

name() click to toggle source
# File lib/simplemdm/account.rb, line 13
def name
  self['name']
end