Module: Tinybucket
- Extended by:
- ActiveSupport::Configurable
- Defined in:
- lib/tinybucket.rb,
lib/tinybucket/api.rb,
lib/tinybucket/error.rb,
lib/tinybucket/model.rb,
lib/tinybucket/client.rb,
lib/tinybucket/config.rb,
lib/tinybucket/parser.rb,
lib/tinybucket/request.rb,
lib/tinybucket/version.rb,
lib/tinybucket/iterator.rb,
lib/tinybucket/resource.rb,
lib/tinybucket/response.rb,
lib/tinybucket/constants.rb,
lib/tinybucket/api/helper.rb,
lib/tinybucket/connection.rb,
lib/tinybucket/enumerator.rb,
lib/tinybucket/model/base.rb,
lib/tinybucket/model/page.rb,
lib/tinybucket/model/team.rb,
lib/tinybucket/api_factory.rb,
lib/tinybucket/null_logger.rb,
lib/tinybucket/api/base_api.rb,
lib/tinybucket/api/diff_api.rb,
lib/tinybucket/api/repo_api.rb,
lib/tinybucket/api/team_api.rb,
lib/tinybucket/api/user_api.rb,
lib/tinybucket/model/branch.rb,
lib/tinybucket/model/commit.rb,
lib/tinybucket/api/repos_api.rb,
lib/tinybucket/model/comment.rb,
lib/tinybucket/model/profile.rb,
lib/tinybucket/model/project.rb,
lib/tinybucket/resource/base.rb,
lib/tinybucket/error/conflict.rb,
lib/tinybucket/model/concerns.rb,
lib/tinybucket/resource/forks.rb,
lib/tinybucket/resource/repos.rb,
lib/tinybucket/resource/teams.rb,
lib/tinybucket/api/commits_api.rb,
lib/tinybucket/error/not_found.rb,
lib/tinybucket/api/branches_api.rb,
lib/tinybucket/api/comments_api.rb,
lib/tinybucket/api/projects_api.rb,
lib/tinybucket/error/base_error.rb,
lib/tinybucket/model/repository.rb,
lib/tinybucket/resource/commits.rb,
lib/tinybucket/response/handler.rb,
lib/tinybucket/resource/branches.rb,
lib/tinybucket/resource/projects.rb,
lib/tinybucket/resource/watchers.rb,
lib/tinybucket/model/build_status.rb,
lib/tinybucket/model/pull_request.rb,
lib/tinybucket/resource/team/base.rb,
lib/tinybucket/resource/user/base.rb,
lib/tinybucket/error/service_error.rb,
lib/tinybucket/resource/team/repos.rb,
lib/tinybucket/resource/user/repos.rb,
lib/tinybucket/api/build_status_api.rb,
lib/tinybucket/model/error_response.rb,
lib/tinybucket/parser/object_parser.rb,
lib/tinybucket/resource/commit/base.rb,
lib/tinybucket/api/helper/api_helper.rb,
lib/tinybucket/api/pull_requests_api.rb,
lib/tinybucket/resource/team/members.rb,
lib/tinybucket/api/helper/diff_helper.rb,
lib/tinybucket/api/helper/repo_helper.rb,
lib/tinybucket/api/helper/team_helper.rb,
lib/tinybucket/api/helper/user_helper.rb,
lib/tinybucket/resource/pull_requests.rb,
lib/tinybucket/api/helper/repos_helper.rb,
lib/tinybucket/resource/team/followers.rb,
lib/tinybucket/resource/team/following.rb,
lib/tinybucket/resource/user/followers.rb,
lib/tinybucket/resource/user/following.rb,
lib/tinybucket/model/branch_restriction.rb,
lib/tinybucket/parser/collection_parser.rb,
lib/tinybucket/resource/commit/comments.rb,
lib/tinybucket/api/helper/commits_helper.rb,
lib/tinybucket/model/concerns/enumerable.rb,
lib/tinybucket/model/concerns/reloadable.rb,
lib/tinybucket/api/helper/branches_helper.rb,
lib/tinybucket/api/helper/comments_helper.rb,
lib/tinybucket/api/helper/projects_helper.rb,
lib/tinybucket/resource/pull_request/base.rb,
lib/tinybucket/api/branch_restrictions_api.rb,
lib/tinybucket/model/concerns/api_callable.rb,
lib/tinybucket/resource/branch_restrictions.rb,
lib/tinybucket/resource/pull_request/commits.rb,
lib/tinybucket/api/helper/build_status_helper.rb,
lib/tinybucket/model/concerns/repository_keys.rb,
lib/tinybucket/resource/commit/build_statuses.rb,
lib/tinybucket/resource/pull_request/comments.rb,
lib/tinybucket/api/helper/pull_requests_helper.rb,
lib/tinybucket/model/concerns/acceptable_attributes.rb,
lib/tinybucket/api/helper/branch_restrictions_helper.rb
Defined Under Namespace
Modules: Api, Connection, Constants, Error, Model, Parser, Request, Resource, Response Classes: ApiFactory, Client, Config, Enumerator, Iterator, NullLogger
Constant Summary collapse
- VERSION =
'1.6.0'.freeze
Class Attribute Summary collapse
-
.api_client ⇒ Object
Returns the value of attribute api_client.
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.api_client ⇒ Object
Returns the value of attribute api_client.
58 59 60 |
# File 'lib/tinybucket.rb', line 58 def api_client @api_client end |
.logger ⇒ Object
Returns the value of attribute logger.
58 59 60 |
# File 'lib/tinybucket.rb', line 58 def logger @logger end |
Class Method Details
.config ⇒ Object
68 69 70 |
# File 'lib/tinybucket.rb', line 68 def config @config ||= Tinybucket::Config.new end |
.configure {|config| ... } ⇒ Object
64 65 66 |
# File 'lib/tinybucket.rb', line 64 def configure yield(config) end |
.new ⇒ Object
60 61 62 |
# File 'lib/tinybucket.rb', line 60 def new @api_client = Tinybucket::Client.new end |