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