Sha256: 3f0972f970b1f2e52db6af9123d8cc3e37d1700fd8b9523fa1c2268fb27682f3
Contents?: true
Size: 374 Bytes
Versions: 24
Compression:
Stored size: 374 Bytes
Contents
$:.push 'examples'; require 'helper' class Customer < RestModel property :periodicity, values: {1 => "c_53", 2 => "c_z1"} property :company, values: {"amazon" => "AM", "google" => "GOOG"} property :type, values: {simple: "1", complex: "2"} end @root = Customer.from_source!(periodicity: 'c_53', company: "GOOG", type: "2").first inspect_rest_model(@root)
Version data entries
24 entries across 24 versions & 1 rubygems