Sha256: d32409d22f1ce3f87c3bfa438861f2d98ffae968999ae647befce5a2bf18ca02

Contents?: true

Size: 1.63 KB

Versions: 32

Compression:

Stored size: 1.63 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::ApplePayApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'ApplePayApi' do
  before do
    # run before each test
    @instance = SquareConnect::ApplePayApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ApplePayApi' do
    it 'should create an instact of ApplePayApi' do
      expect(@instance).to be_instance_of(SquareConnect::ApplePayApi)
    end
  end

  # unit tests for register_domain
  # RegisterDomain
  # Activates a domain for use with Web Apple Pay and Square. A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain.  This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform.  To learn more about Apple Pay on Web see the Apple Pay section in the [Embedding the Square Payment Form](https://docs.connect.squareup.com/articles/adding-payment-form) guide.
  # @param body An object containing the fields to POST for the request.  See the corresponding object definition for field details.
  # @param [Hash] opts the optional parameters
  # @return [RegisterDomainResponse]
  describe 'register_domain 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

32 entries across 32 versions & 1 rubygems

Version Path
square_connect-2.20190724.1.334 spec/api/apple_pay_api_spec.rb
square_connect-2.20190724.0.331 spec/api/apple_pay_api_spec.rb
square_connect-2.20190724.0.330 spec/api/apple_pay_api_spec.rb
square_connect-2.20190724.0.325 spec/api/apple_pay_api_spec.rb
square_connect-2.20190710.0.321 spec/api/apple_pay_api_spec.rb
square_connect-2.20190612.1.314 spec/api/apple_pay_api_spec.rb
square_connect-2.20190612.0.311 spec/api/apple_pay_api_spec.rb
square_connect-2.20190612.0.309 spec/api/apple_pay_api_spec.rb
square_connect-2.20190508.0.304 spec/api/apple_pay_api_spec.rb
square_connect-2.20190410.1.300 spec/api/apple_pay_api_spec.rb
square_connect-2.20190410.0.296 spec/api/apple_pay_api_spec.rb
square_connect-2.20190327.1.292 spec/api/apple_pay_api_spec.rb
square_connect-2.20190313.1.282 spec/api/apple_pay_api_spec.rb
square_connect-2.20190313.0.278 spec/api/apple_pay_api_spec.rb
square_connect-2.20190213.0.274 spec/api/apple_pay_api_spec.rb
square_connect-2.20181212.0.267 spec/api/apple_pay_api_spec.rb
square_connect-2.20181205.0.263 spec/api/apple_pay_api_spec.rb
square_connect-2.20180918.1.251 spec/api/apple_pay_api_spec.rb
square_connect-2.20180918.0.244 spec/api/apple_pay_api_spec.rb
square_connect-2.20180712.2.237 spec/api/apple_pay_api_spec.rb