Sha256: f30f915abe183d97419f76254ed4648fa5b7ebb7681e5f6a9c9c1c1127b095f6
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 Bytes
Contents
# frozen_string_literal: true module ExtraSpace # e.g. https://www.extraspace.com/storage/facilities/us/alabama/auburn/3264/ class Availability # @attribute [rw] available # @return [String] attr_accessor :available # @param available [String] def initialize(available:) @available = available end # @return [String] def inspect props = [ "available=#{@available.inspect}" ] "#<#{self.class.name} #{props.join(' ')}>" end # @param data [Hash] # # @return [Availability] def self.parse(data:) new(available: data['available']) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
extraspace-0.1.1 | lib/extraspace/availability.rb |