Sha256: f5532bdda5964669998b3fd667dfb1fd2fe8fb6f1a79a8f897b22729360696e9
Contents?: true
Size: 1.5 KB
Versions: 43
Compression:
Stored size: 1.5 KB
Contents
=begin #Square Connect API OpenAPI spec version: 2.0 Contact: developers@squareup.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'spec_helper' require 'json' # Unit tests for SquareConnect::V1LocationsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'V1LocationsApi' do before do # run before each test @instance = SquareConnect::V1LocationsApi.new end after do # run after each test end describe 'test an instance of V1LocationApi' do it 'should create an instact of V1LocationApi' do expect(@instance).to be_instance_of(SquareConnect::V1LocationsApi) end end # unit tests for list_locations # Provides details for a business's locations, including their IDs. # Provides details for a business's locations, including their IDs. # @param [Hash] opts the optional parameters # @return [Array<V1Merchant>] describe 'list_locations test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for retrieve_business # Get a business's information. # Get a business's information. # @param [Hash] opts the optional parameters # @return [V1Merchant] describe 'retrieve_business test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
43 entries across 43 versions & 1 rubygems
Version | Path |
---|---|
square_connect-2.1.1.99 | spec/api/v1_locations_api_spec.rb |
square_connect-2.1.0.78 | spec/api/v1_locations_api_spec.rb |
square_connect-2.1.0.beta | spec/api/v1_locations_api_spec.rb |