Module: Steem
- Defined in:
- lib/steem.rb,
lib/steem/api.rb,
lib/steem/utils.rb,
lib/steem/jsonrpc.rb,
lib/steem/version.rb,
lib/steem/block_api.rb,
lib/steem/broadcast.rb,
lib/steem/formatter.rb,
lib/steem/base_error.rb,
lib/steem/type/amount.rb,
lib/steem/chain_config.rb,
lib/steem/type/base_type.rb,
lib/steem/rpc/base_client.rb,
lib/steem/mixins/retriable.rb,
lib/steem/transaction_builder.rb,
lib/steem/rpc/thread_safe_client.rb
Defined Under Namespace
Modules: ChainConfig, RPC, Retriable, Type, Utils
Classes: Api, ArgumentError, AuthorNotFoundError, BaseError, BlockApi, BlockTooOldError, Broadcast, DuplicateTransactionError, EmptyTransactionError, Formatter, IncorrectRequestIdError, IncorrectResponseIdError, InvalidAccountError, IrrelevantSignatureError, Jsonrpc, MissingActiveAuthorityError, MissingOtherAuthorityError, MissingOwnerAuthorityError, MissingPostingAuthorityError, NonCanonicalSignatureError, NonZeroRequiredError, ReachedMaximumTimeError, RemoteNodeError, TheftError, TransactionBuilder, TransactionExpiredError, TypeError, UnexpectedAssetError, UnknownApiError, UnknownError, UnknownOperationError, UnsupportedChainError
Constant Summary
collapse
- VERSION =
'0.1.0'
- AGENT_ID =
"steem-ruby/#{VERSION}"
Class Method Summary
collapse
Class Method Details
.api_classes ⇒ Object
23
24
25
|
# File 'lib/steem.rb', line 23
def self.api_classes
@api_classes ||= {}
end
|
.const_missing(api_name) ⇒ Object
27
28
29
30
31
32
|
# File 'lib/steem.rb', line 27
def self.const_missing(api_name)
api = api_classes[api_name]
api ||= Api.clone(freeze: true)
api.api_name = api_name
api_classes[api_name] = api
end
|