Class: Ethscription
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ethscription
- Defined in:
- lib/facetq/models/ethscription.rb
Overview
ApplicationRecord
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.required_initial_owner ⇒ Object
67 68 69 |
# File 'lib/facetq/models/ethscription.rb', line 67 def self.required_initial_owner "0x00000000000000000000000000000000000face7" end |
Instance Method Details
#content ⇒ Object
55 56 57 |
# File 'lib/facetq/models/ethscription.rb', line 55 def content content_uri[/.*?,(.*)/, 1] end |
#parsed_content ⇒ Object
59 60 61 |
# File 'lib/facetq/models/ethscription.rb', line 59 def parsed_content JSON.parse(content) end |
#processed? ⇒ Boolean
63 64 65 |
# File 'lib/facetq/models/ethscription.rb', line 63 def processed? processing_state != "pending" end |