class Fountain::Location

Fountain Location

Attributes

raw_data[R]

Raw location data

Public Class Methods

new(data) click to toggle source

@param [Hash] data Raw location data

# File lib/fountain/location.rb, line 14
def initialize(data)
  @raw_data = Util.stringify_hash_keys data
end

Public Instance Methods

id() click to toggle source

Location ID

# File lib/fountain/location.rb, line 19
def id
  raw_data['id']
end
name() click to toggle source

Name

# File lib/fountain/location.rb, line 24
def name
  raw_data['name']
end