This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'produce' | |
require 'produce/merchant' | |
module Fastlane | |
module Actions | |
class CreateMerchantAction < Action | |
def self.run(params) | |
Produce.config = params | |
Produce::Merchant.new.create(params, nil) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) queueViewControllerTransition:(BOOL)show { | |
static dispatch_queue_t presentAndDismissViewControllerQueue; | |
static dispatch_once_t onceToken; | |
dispatch_once(&onceToken, ^{ | |
presentAndDismissViewControllerQueue = dispatch_queue_create("presentAndDismissViewControllerQueue", DISPATCH_QUEUE_SERIAL); | |
}); | |
dispatch_async(presentAndDismissViewControllerQueue, ^{ | |
dispatch_semaphore_t sema = dispatch_semaphore_create(0); | |
dispatch_async(dispatch_get_main_queue(), ^{ |