Class: Rafflesia::CorpuReleaseListRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseListRequest
- Defined in:
- lib/rafflesia/datasets/corpu_release_list_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ corpus: :corpus, limit: :limit, object_store_root: :object_store_root }.freeze
Instance Attribute Summary collapse
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseListRequest
constructor
A new instance of CorpuReleaseListRequest.
Constructor Details
#initialize(json) ⇒ CorpuReleaseListRequest
Returns a new instance of CorpuReleaseListRequest.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/datasets/corpu_release_list_request.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @corpus = hash[:corpus] @limit = hash[:limit] @object_store_root = hash[:object_store_root] end |
Instance Attribute Details
#corpus ⇒ Object
Returns the value of attribute corpus.
14 15 16 |
# File 'lib/rafflesia/datasets/corpu_release_list_request.rb', line 14 def corpus @corpus end |
#limit ⇒ Object
Returns the value of attribute limit.
14 15 16 |
# File 'lib/rafflesia/datasets/corpu_release_list_request.rb', line 14 def limit @limit end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
14 15 16 |
# File 'lib/rafflesia/datasets/corpu_release_list_request.rb', line 14 def object_store_root @object_store_root end |