Ruby Library for SubtleData's SubtleJSON API
gem install subtledata
require 'subtledata'
key = 'S0YrNTJY'
puts SubtleData::Standard::Locations.get_all_locations(key, false).inspect
puts SubtleData::Standard::Locations.get_location(959, key, false).inspect
get_all_locations(key,cache)
get_locations_near(key,use_cache,latitude,longitude,radius,opts={})
get_location(location_id, key, cache)
get_location_menu(location_id, key, cache, option)
get_location_employees(location_id,api_key,manager_id,revenue_center_id,opts={})
get_table_list(location_id,api_key,use_cache,opts={})
get_tickets(location_id,api_key,condensed,opts={})
create_ticket(location_id,api_key,ticket_type,body,opts={})
get_tabs (location_id,api_key,opts={})
get_table (location_id,table_id,api_key,opts={})
get_ticket (location_id,ticket_id,api_key,user_id,opts={})
void_ticket(location_id,ticket_id,api_key,user_id,opts={})
get_ticket_with_p_o_s__i_d(location_id,pos_ticket_id,api_key,user_id,opts={})
submit_order(location_id,ticket_id,user_id,api_key,opts={})
add_items_to_order(location_id,ticket_id,user_id,api_key,body,opts={})
get_users_connected_to_ticket(location_id,ticket_id,api_key,opts={})
connect_user_to_ticket(location_id,ticket_id,api_key,body,opts={})
discount_ticket(location_id,ticket_id,api_key,body,opts={})
add_payment_to_ticket(location_id,ticket_id,api_key,body,opts={})
add_external_payment_to_ticket(location_id,ticket_id,api_key,body,opts={})
create_user(api_key,body,opts={})
get_user(user_id,api_key,use_cache,opts={})
delete_user(user_id,api_key,opts={})
auth_user(api_key,body,opts={})
search_users_by_name(user_name,api_key,use_cache,opts={})
get_users_cards(user_id,api_key,opts={})
create_card_for_user(user_id,api_key,body,opts={})
delete_user_credit_card(user_id,card_id,api_key,opts={})
get_all_states(api_key,use_cache,opts={})
get_all_countries( api_key,use_cache,opts={})