Sha256: 810df6556a931c684184501b8b211c969ac1d8ddfc42797b879855fb40dcba98
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
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
4 entries across 4 versions & 1 rubygems