Module: Candid::Commons::Types::PageToken
- Defined in:
- lib/candid/commons/types/page_token.rb
Class Method Summary collapse
Class Method Details
.dump(value) ⇒ String
19 20 21 |
# File 'lib/candid/commons/types/page_token.rb', line 19 def self.dump(value) ::JSON.generate(value) end |
.load(str) ⇒ untyped
12 13 14 |
# File 'lib/candid/commons/types/page_token.rb', line 12 def self.load(str) ::JSON.parse(str) end |