Method: Vng::Relation#initialize
- Defined in:
- lib/vng/relation.rb
#initialize(options = {}) {|Hash| ... } ⇒ Relation
Returns a new instance of Relation.
8 9 10 11 12 |
# File 'lib/vng/relation.rb', line 8 def initialize( = {}, &item_block) @options = {parts: ['objectID', 'isActive'], next_page: 1} @options.merge! @item_block = item_block end |