Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
saber
v0.1.2
EventPayload
Saber
Asset
CreateAssetSize
Link
Asset
CurrentPrice
FloatConverter
Creator
Embed
Links
Unset
Generated using Crystal 1.14.0
2024-11-26 10:38:09 UTC
class
Saber::
CreateAssetSize
Saber::CreateAssetSize
Reference
Object
Included Modules
JSON::Serializable
Defined in:
saber/objects/asset.cr
Constructors
.new
(pull : JSON::PullParser)
Class Method Summary
.from_json
(value : NamedTuple | Hash(String, String))
Instance Method Summary
#asset_type
: String
#expiry
: Time | Nil
#size
: Float64
#symbol
: String
#to_n_tuple
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Class Method Detail
def self.
from_json
(value : NamedTuple | Hash(String, String))
#
[
View source
]
Instance Method Detail
def
asset_type
: String
#
[
View source
]
def
expiry
: Time | Nil
#
[
View source
]
def
size
: Float64
#
[
View source
]
def
symbol
: String
#
[
View source
]
def
to_n_tuple
#
[
View source
]