Module: Vox::ETF
- Defined in:
- lib/vox/etf/version.rb,
ext/vox/etf.cpp
Overview
Default ETF adapter for vox’s gateway component.
Constant Summary collapse
- VERSION =
Gem version
'0.1.9'
Class Method Summary collapse
-
.decode(input) ⇒ Object
Decode an ETF term from a string.
-
.encode(input) ⇒ String
Encode an object to an ETF term.
Class Method Details
.decode(input) ⇒ Object
Decode an ETF term from a string.
4 5 |
# File 'lib/vox/etf/version.rb', line 4 def self.decode(input) end |
.encode(input) ⇒ String
Encode an object to an ETF term. This method accepts, ‘Integer`, `Float`, `String`, `Symbol`, `Hash`, `Array`, `nil`, `true`, and `false` objects. It also allows any object that responds to `#to_hash => Hash`.
6 7 |
# File 'lib/vox/etf/version.rb', line 6 def self.encode(input) end |