Sha256: e2d9a3eb57b66c2e9f417cfff6c14c6b7c48f5cea1206fd1ab24c2d9a1f4a070

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

require "rspec"
require "fakeweb"
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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
api-client-1.4.1 spec/spec_helper.rb
api-client-1.4.0 spec/spec_helper.rb