Sha256: f793691885eced9058ffb90728c3f96477eb2153b8c845fc33616bc9d3f520d5
Contents?: true
Size: 445 Bytes
Versions: 10
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module HackerOne module Client class Address delegate :name, :street, :city, :postal_code, :state, :country, \ :created_at, :tshirt_size, :phone_number, to: :attributes def initialize(address) @address = address end def id @address[:id] end private def attributes OpenStruct.new(@address[:attributes]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems