class JustimmoClient::V1::RealtyUsage

Public Instance Methods

map(&block) click to toggle source
# File lib/justimmo_client/api/v1/models/realty_usage.rb, line 30
def map(&block)
  to_a.map(&block)
end
to_a() click to toggle source

@!group Instance Method Summary

# File lib/justimmo_client/api/v1/models/realty_usage.rb, line 26
def to_a
  attributes.select { |_k, v| v }.keys
end
to_s() click to toggle source
# File lib/justimmo_client/api/v1/models/realty_usage.rb, line 38
def to_s
  translated.join(", ")
end
translated() click to toggle source
# File lib/justimmo_client/api/v1/models/realty_usage.rb, line 34
def translated
  map { |x| translate(x) }
end