Sha256: c105ee0ec3fa739180416fefac2aa8cd4f9dfe299214e1d982468e8579fbdf82
Contents?: true
Size: 320 Bytes
Versions: 8
Compression:
Stored size: 320 Bytes
Contents
module A2z module Responses class ItemLink attr_accessor :description, :url def self.from_response(data) new.tap do |item_link| item_link.description = data['Description'] item_link.url = data['URL'] item_link.freeze end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems