Sha256: f9a1fd3382267f5314fd510d7add57377bd45e1d1180da4a112bd4a95ea14aa0

Contents?: true

Size: 306 Bytes

Versions: 24

Compression:

Stored size: 306 Bytes

Contents

$:.push 'examples'; require 'helper'

class Customer < RestModel
  property :login
end

@customers = Customer.from_source!([{login: "jackiechan2010"},
                                   {login: "brucelee"},
                                   {login: "vcr2"}])

@customers.map(&method(:inspect_rest_model))

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rest_model-0.2.0 examples/properties/collections.rb
rest_model-0.1.24 examples/properties/collections.rb
rest_model-0.1.23 examples/properties/collections.rb
rest_model-0.1.22 examples/properties/collections.rb
rest_model-0.1.21 examples/properties/collections.rb
rest_model-0.1.20 examples/properties/collections.rb
rest_model-0.1.19 examples/properties/collections.rb
rest_model-0.1.18 examples/properties/collections.rb
rest_model-0.1.17 examples/properties/collections.rb
rest_model-0.1.16 examples/properties/collections.rb
rest_model-0.1.15 examples/properties/collections.rb
rest_model-0.1.14 examples/properties/collections.rb
rest_model-0.1.13 examples/properties/collections.rb
rest_model-0.1.12 examples/properties/collections.rb
rest_model-0.1.11 examples/properties/collections.rb
rest_model-0.1.10 examples/properties/collections.rb
rest_model-0.1.9 examples/properties/collections.rb
rest_model-0.1.8 examples/properties/collections.rb
rest_model-0.1.7 examples/properties/collections.rb
rest_model-0.1.6 examples/properties/collections.rb