Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/fat_zebra/utilities/apple_pay/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class << self
# @param [Hash] options for the request, and configurations (Optional)
#
# @return [FatZebra::Utilities::ApplePay::Domains] response
def list(options: {})
def list(options = {})
params = {}
response = request(:get, ENDPOINT_URL, params, options)
initialize_from(response)
Expand All @@ -29,7 +29,7 @@ def list(options: {})
# @param [Hash] options for the request, and configurations (Optional)
#
# @return [FatZebra::Utilities::ApplePay::Domains] response
def register!(domain, params = {}, options: {})
def register!(domain, params = {}, options = {})
response = request(:post, path(domain), params, options)
initialize_from(response)
end
Expand All @@ -41,7 +41,7 @@ def register!(domain, params = {}, options: {})
# @param [Hash] options for the request, and configurations (Optional)
#
# @return [FatZebra::Utilities::ApplePay::Domains] response
def find!(domain, options: {})
def find!(domain, options = {})
params = {}
response = request(:get, path(domain), params, options)
initialize_from(response)
Expand All @@ -54,7 +54,7 @@ def find!(domain, options: {})
# @param [Hash] options for the request, and configurations (Optional)
#
# @return [FatZebra::Utilities::ApplePay::Domains] response
def delete!(domain, options: {})
def delete!(domain, options = {})
params = {}
response = request(:delete, path(domain), params, options)
initialize_from(response)
Expand Down