Module: CirroIO::Client

Defined in:
lib/cirro_io/client.rb,
lib/cirro_io/client/gig.rb,
lib/cirro_io/client/base.rb,
lib/cirro_io/client/payout.rb,
lib/cirro_io/client/version.rb,
lib/cirro_io/client/app_user.rb,
lib/cirro_io/client/gig_task.rb,
lib/cirro_io/client/app_worker.rb,
lib/cirro_io/client/gig_result.rb,
lib/cirro_io/client/configuration.rb,
lib/cirro_io/client/worker_filter.rb,
lib/cirro_io/client/gig_invitation.rb,
lib/cirro_io/client/gig_time_activity.rb,
lib/cirro_io/client/bulk_action_helper.rb,
lib/cirro_io/client/jwt_authentication.rb,
lib/cirro_io/client/notifications_topic.rb,
lib/cirro_io/client/notifications_template.rb,
lib/cirro_io/client/notifications_broadcast.rb,
lib/cirro_io/client/response_debugging_middleware.rb

Defined Under Namespace

Modules: BulkActionHelper Classes: AppUser, AppWorker, Base, Configuration, Error, Gig, GigInvitation, GigResult, GigTask, GigTimeActivity, JwtAuthentication, NotificationsBroadcast, NotificationsTemplate, NotificationsTopic, Payout, ResponseDebuggingMiddleware, WorkerFilter

Constant Summary collapse

VERSION =
'2.7.1'

Class Method Summary collapse

Class Method Details

.configurationObject



31
32
33
# File 'lib/cirro_io/client.rb', line 31

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



26
27
28
29
# File 'lib/cirro_io/client.rb', line 26

def self.configure
  yield configuration if block_given?
  Base.site = "#{configuration.site}/#{configuration.api_version}"
end