Sha256: a826bdf5134e8f48d4e557367e794b22b9a51ce6f733220f3548df1055c2a28b
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
require "rspec" require 'webmock/rspec' require "json" require File.dirname(__FILE__) + "/../lib/api-client" class User < ApiClient::Base attr_accessor :a, :b validates_presence_of :a validates_inclusion_of :a, :in => %w(a A) end class Admin < ApiClient::Base self.remote_object = "user" attr_accessor :a, :b end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api-client-1.6.1 | spec/spec_helper.rb |
api-client-1.6.0 | spec/spec_helper.rb |