Sha256: 0288952f0b48bb10e5a08a07cdc3ef2b406862e8aad64844ba4e0832c2479d45
Contents?: true
Size: 624 Bytes
Versions: 8
Compression:
Stored size: 624 Bytes
Contents
#!/usr/bin/env ruby require "rubygems" Bundler.require(:default, "development") if defined?(Bundler) path = File.expand_path(File.dirname(__FILE__) + "/../lib/") $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path) require path + '/flexmls_api' FlexmlsApi.logger.info("Hello!") FlexmlsApi.configure do |config| config.api_key = "agent_key" config.api_secret = "agent_secret" config.version = "v1" config.endpoint = "https://api.flexmls.com" end client = FlexmlsApi.client list = client.get '/contacts' puts "client: #{list.inspect}" list = FlexmlsApi::Models::Contact.get puts "model: #{list.inspect}"
Version data entries
8 entries across 8 versions & 2 rubygems