Class: EhbrsRubyUtils::Bga::Session::Table

Inherits:
Object
  • Object
show all
Includes:
Urls
Defined in:
lib/ehbrs_ruby_utils/bga/session/table.rb

Constant Summary

Constants included from Urls::InstanceMethods

Urls::InstanceMethods::ROOT_URL

Instance Method Summary collapse

Methods included from Urls::InstanceMethods

#build_url, #player_game_in_progress_url, #player_game_stats_url, #root_url, #table_url

Instance Method Details

#resultObject



17
18
19
20
21
# File 'lib/ehbrs_ruby_utils/bga/session/table.rb', line 17

def result
  ::EhbrsRubyUtils::Bga::Table.new(
    fetch_data
  )
end

#urlAddressable::URI

Returns:

  • (Addressable::URI)


24
25
26
# File 'lib/ehbrs_ruby_utils/bga/session/table.rb', line 24

def url
  table_url(table_id)
end