Sha256: 9642563c09c03cf7226816868b77b60cb7dbedf8ed501fb6732e1f0c733d2173

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true
module BitBucket
  class Users < API
    extend AutoloadHelper

    # Load all the modules after initializing Repos to avoid superclass mismatch
    autoload_all 'bitbucket_rest_api/users',
                 Account: 'account'

    # Creates new Users API
    def initialize(options = {})
      super(options)
    end

    # Access to Users::Account API
    def account
      @account ||= ApiFactory.new 'Users::Account'
    end
  end # Users
end # BitBucket

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitbuckets-0.2.0 lib/bitbucket_rest_api/users.rb