Sha256: a9a7d743998c1723f3a1fab584f428a5767883effadfe9ce138838b74c77302a

Contents?: true

Size: 283 Bytes

Versions: 16

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

class JobSeeker
  include Arstotzka

  expose :applicants, case: :snake, default: 'John Doe',
                      full_path: 'applicants.full_name',
                      compact: true, json: :@hash

  def initialize(hash)
    @hash = hash
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/support/models/job_seeker.rb
arstotzka-1.6.1 spec/support/models/job_seeker.rb
arstotzka-1.6.0 spec/support/models/job_seeker.rb
arstotzka-1.5.0 spec/support/models/job_seeker.rb
arstotzka-1.4.4 spec/support/models/job_seeker.rb
arstotzka-1.4.3 spec/support/models/job_seeker.rb
arstotzka-1.4.2 spec/support/models/job_seeker.rb
arstotzka-1.4.1 spec/support/models/job_seeker.rb
arstotzka-1.4.0 spec/support/models/job_seeker.rb
arstotzka-1.3.2 spec/support/models/job_seeker.rb
arstotzka-1.3.1 spec/support/models/job_seeker.rb
arstotzka-1.3.0 spec/support/models/job_seeker.rb
arstotzka-1.2.4 spec/support/models/job_seeker.rb
arstotzka-1.2.3 spec/support/models/job_seeker.rb
arstotzka-1.2.2 spec/support/models/job_seeker.rb
arstotzka-1.2.1 spec/support/models/job_seeker.rb