class V2Intuity::Endpoints::Marketplace

Constants

REDIRECT_URI

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method V2Intuity::Endpoints::Endpoint::new
# File lib/v2_intuity/endpoints/marketplace.rb, line 6
def initialize(options = {})
  super
  @endpoint = Endpoint::ENDPOINTS[:marketplace]
end

Public Instance Methods

define_redirect_uri(uri = REDIRECT_URI) click to toggle source
# File lib/v2_intuity/endpoints/marketplace.rb, line 17
def define_redirect_uri(uri = REDIRECT_URI)
  @base_uri = uri
end
uri(options = {}) click to toggle source
Calls superclass method V2Intuity::Endpoints::Endpoint#uri
# File lib/v2_intuity/endpoints/marketplace.rb, line 11
def uri(options = {})
  return super if @base_uri != REDIRECT_URI

  @base_uri
end