Sha256: 4918cdf5848ad4e65aa2d49b9736eadc406ddf1cdc5fc6dc2377e0477170a319
Contents?: true
Size: 617 Bytes
Versions: 3
Compression:
Stored size: 617 Bytes
Contents
module Finix class Application include Finix::Resource include Finix::HypermediaRegistry define_hypermedia_types [:applications] def create_partner_user(attrs={}) attrs = attrs.attributes if attrs.is_a?(Finix::Resource) self.users.create(attrs) end def create_processor(attrs={}) attrs = attrs.attributes if attrs.is_a?(Finix::Resource) self.processors.create(attrs) end alias enable_processor create_processor def create_token(attrs={}) attrs = attrs.attributes if attrs.is_a?(Finix::Resource) self.tokens.create(attrs) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
finix-1.0.1 | lib/finix/resources/application.rb |
finix-1.0.0 | lib/finix/resources/application.rb |
finix-0.16 | lib/finix/resources/application.rb |