Class: Pina::DocumentPairing
- Inherits:
-
Object
- Object
- Pina::DocumentPairing
- Defined in:
- lib/pina/document_pairing.rb
Class Method Summary collapse
Class Method Details
.all(page = nil) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/pina/document_pairing.rb', line 7 def all(page = nil) response = Pina::RestAdapter.get(:document_pairings, page) return Pina::Collections::DocumentPairing.new(attributes(response)) if response.ok? response end |