Module: DPN::Client::Agent::FixityCheck
- Included in:
- DPN::Client::Agent
- Defined in:
- lib/dpn/client/agent/fixity_check.rb
Overview
Operations on the fixity_check resource.
Instance Method Summary collapse
-
#create_fixity_check(fixity_check) {|Response| ... } ⇒ Response
Create a fixity_check.
-
#fixity_checks(options = {page_size: 25}) {|Response| ... } ⇒ Object
Get the fixity_check index.
Instance Method Details
#create_fixity_check(fixity_check) {|Response| ... } ⇒ Response
Create a fixity_check
33 34 35 |
# File 'lib/dpn/client/agent/fixity_check.rb', line 33 def create_fixity_check(fixity_check, &block) post "/fixity_check/", fixity_check, &block end |
#fixity_checks(options = {page_size: 25}) {|Response| ... } ⇒ Object
Get the fixity_check index
24 25 26 |
# File 'lib/dpn/client/agent/fixity_check.rb', line 24 def fixity_checks( = {page_size: 25}, &block) paginate_each "/fixity_check/", , [:page_size], &block end |