Sha256: 01511b39c5b380df4e72c8cf262600237af7aea5a2d74f067910a1fd1f989323

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

module RailsMarketplace
  class AdminSetting < ActiveRecord::Base
  	belongs_to :admin

	def self.stripe_publishable_key
		first.stripe_publishable_key
	end

	def self.stripe_secret_key
		first.stripe_secret_key
	end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 app/models/rails_marketplace/admin_setting.rb
rails_marketplace-0.0.1 app/models/rails_marketplace/admin_setting.rb