Sha256: 44e654ecbfaa6ebb716593fa4661088f678e31b53d1eddd46a40efe7daaf5f35

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 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

4 entries across 4 versions & 1 rubygems

Version Path
rest_model-0.3.1 examples/properties/collections.rb
rest_model-0.3.0 examples/properties/collections.rb
rest_model-0.2.3 examples/properties/collections.rb
rest_model-0.2.1 examples/properties/collections.rb