Sha256: 07ae831e51e787353a6313a5ab62f28fd7019af614554afc095935342a7ec2c8

Contents?: true

Size: 249 Bytes

Versions: 12

Compression:

Stored size: 249 Bytes

Contents

module RubyBox
  class User < Item
    
    def enterprise
      resp = @session.get( "#{RubyBox::API_URL}/users/#{id}?fields=enterprise" )
      resp["enterprise"]
    end
    
    private

    def resource_name
      'users'
    end
    
  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
ruby-box-updated-1.16.0 lib/ruby-box/user.rb
lti-ruby-box-1.14.2 lib/ruby-box/user.rb
ruby-box-1.15.0 lib/ruby-box/user.rb
iora-ruby-box-1.14.0 lib/ruby-box/user.rb
lti-ruby-box-1.14.1 lib/ruby-box/user.rb
ruby-box-1.14.0 lib/ruby-box/user.rb
ruby-box-1.13.0 lib/ruby-box/user.rb
ruby-box-1.12.2 lib/ruby-box/user.rb
ruby-box-1.12.1 lib/ruby-box/user.rb
ruby-box-1.11.1 lib/ruby-box/user.rb
ruby-box-1.11.0 lib/ruby-box/user.rb
ruby-box-1.10.2 lib/ruby-box/user.rb