module Hive
Constants
- AGENT_ID
- VERSION
Public Class Methods
api_classes()
click to toggle source
# File lib/hive.rb, line 79 def self.api_classes @api_classes ||= {} end
const_missing(const)
click to toggle source
Calls superclass method
# File lib/hive.rb, line 83 def self.const_missing(const) super unless const.to_s.end_with? 'Api' api = api_classes[const] api ||= Api.clone(freeze: true) rescue Api.clone api.api_name = const api_classes[const] = api end