Sha256: 68cf3b5ac46ec4f97581baa12481b101d72122a4e021b89f7d8ae23dfc606e83

Contents?: true

Size: 177 Bytes

Versions: 17

Compression:

Stored size: 177 Bytes

Contents

class RubyPost

  attr_accessor :title, :body, :phone_number

  def initialize(attributes = {})
    (attributes || {}).each { |name, value| send("#{name}=", value) }
  end

end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rest_my_case-1.9.3 spec/support/validator/models/ruby_post.rb
rest_my_case-1.9.2 spec/support/validator/models/ruby_post.rb
rest_my_case-1.9.1 spec/support/validator/models/ruby_post.rb
rest_my_case-1.9.0 spec/support/validator/models/ruby_post.rb
rest_my_case-1.8.0 spec/support/validator/models/ruby_post.rb
rest_my_case-1.7.7 spec/support/validator/models/ruby_post.rb
rest_my_case-1.7.6 spec/support/validator/models/ruby_post.rb
rest_my_case-1.7.5 spec/support/validator/models/ruby_post.rb
rest_my_case-1.7.4 spec/support/validator/models/ruby_post.rb
rest_my_case-1.7.0 spec/support/validator/models/ruby_post.rb
usecasing_validations-0.7.0 spec/support/models/ruby_post.rb
usecasing_validations-0.6.0 spec/support/models/ruby_post.rb
usecasing_validations-0.5.5 spec/support/models/ruby_post.rb
usecasing_validations-0.5.4 spec/support/models/ruby_post.rb
usecasing_validations-0.5.3 spec/support/models/ruby_post.rb
usecasing_validations-0.5.1 spec/support/models/ruby_post.rb
usecasing_validations-0.5.0 spec/support/models/ruby_post.rb