Module: EPlat::Client::PlatformConvenienceMethods

Extended by:
ActiveSupport::Concern
Included in:
EPlat::Client
Defined in:
lib/e_plat/client/platform_convenience_methods.rb

Instance Method Summary collapse

Instance Method Details

#bigcommerce?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/e_plat/client/platform_convenience_methods.rb', line 11

def bigcommerce?
	platform == :bigcommerce
end

#shopify?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/e_plat/client/platform_convenience_methods.rb', line 7

def shopify?
	platform == :shopify
end

#woocommerce?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/e_plat/client/platform_convenience_methods.rb', line 15

def woocommerce?
	platform == :woocommerce
end