Sha256: fe1877fb02ac3a86ec2c4d6ed6c740a47db1c44a2363db1bb66fc42a45fcc4f6

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

class TypecastedAuthor < ::ActiveRemote::Base
  attribute :guid, :type => String
  attribute :name, :typecaster => StringTypecaster
  attribute :age, :integer
  attribute :birthday, :type => DateTime
  attribute :writes_fiction, :boolean
  attribute :net_sales, :typecaster => FloatTypecaster
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_remote-3.3.2 spec/support/models/typecasted_author.rb
active_remote-3.3.1 spec/support/models/typecasted_author.rb
active_remote-3.3.0 spec/support/models/typecasted_author.rb