Class: Dox::Api::Auth::App

Inherits:
Object
  • Object
show all
Includes:
ResourceModel
Defined in:
lib/dox/api/auth/app.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ResourceModel

#attributes, #attributes=, #errors_from_json, #from_json, #href, #initialize, #to_json

Instance Attribute Details

#orgObject

Returns the value of attribute org


8
9
10
# File 'lib/dox/api/auth/app.rb', line 8

def org
  @org
end

Instance Method Details

#locationObject


10
11
12
# File 'lib/dox/api/auth/app.rb', line 10

def location
  { href: "/apps{/id}" }
end