Class: SteemApi::Tx::Custom::Community
- Inherits:
-
SteemApi::Tx::Custom
- Object
- ActiveRecord::Base
- SqlBase
- SteemApi::Tx::Custom
- SteemApi::Tx::Custom::Community
- Defined in:
- lib/steem_api/models/tx/custom/community.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from SqlBase
Class Method Details
.ops ⇒ Object
23 24 25 |
# File 'lib/steem_api/models/tx/custom/community.rb', line 23 def self.ops distinct.normalized_json.pluck(Arel.sql "JSON_VALUE([TxCustoms].[json_metadata], '$[0]') AS ops") end |
Instance Method Details
#payload ⇒ Object
27 28 29 |
# File 'lib/steem_api/models/tx/custom/community.rb', line 27 def payload JSON[][1] rescue nil end |