Sha256: 5e13ac5161d7847c8f74a1773a2f6fa4d4fdf7dceeb6469c8f5541ef993e6707

Contents?: true

Size: 325 Bytes

Versions: 39

Compression:

Stored size: 325 Bytes

Contents

module Centaman
  class Service::MembershipType < Centaman::Service
    include Centaman::JsonWrapper

    def endpoint
      '/member_services/MembershipType'
    end

    def object_class
      Centaman::Object::MembershipType
    end

    def self.find(id)
      new.objects.detect {|obj| obj.id == id }
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
centaman-5.0.3 lib/centaman/service/membership_type.rb
centaman-5.0.2 lib/centaman/service/membership_type.rb
centaman-5.0.1 lib/centaman/service/membership_type.rb
centaman-5.0.0 lib/centaman/service/membership_type.rb
centaman-4.0.5 lib/centaman/service/membership_type.rb
centaman-4.0.4 lib/centaman/service/membership_type.rb
centaman-4.0.3 lib/centaman/service/membership_type.rb
centaman-4.0.2 lib/centaman/service/membership_type.rb
centaman-4.0.1 lib/centaman/service/membership_type.rb
centaman-3.1.2 lib/centaman/service/membership_type.rb
centaman-3.1.1 lib/centaman/service/membership_type.rb
centaman-3.1.0 lib/centaman/service/membership_type.rb
centaman-3.0.0 lib/centaman/service/membership_type.rb
centaman-2.1.0 lib/centaman/service/membership_type.rb
centaman-2.0.0 lib/centaman/service/membership_type.rb
centaman-1.0.0 lib/centaman/service/membership_type.rb
centaman-0.2.3 lib/centaman/service/membership_type.rb
centaman-0.2.2 lib/centaman/service/membership_type.rb
centaman-0.2.1 lib/centaman/service/membership_type.rb