module Finix # Your User is equivalent to an API Key and is used to authenticate when # performing operations on the Finix API. class User include Finix::Resource include Finix::HypermediaRegistry define_hypermedia_types [:users] def create_application(attrs = {}) attrs = attrs.attributes if attrs.is_a?(Finix::Resource) self.applications.create(attrs) end end end