lib/centaman/service/cost_rate.rb in centaman-5.0.6 vs lib/centaman/service/cost_rate.rb in centaman-5.0.7

- old
+ new

@@ -1,14 +1,13 @@ module Centaman class Service::CostRate < Centaman::Service include Centaman::JsonWrapper - attr_reader :first_name, :last_name, :email, :primary_member_id + attr_reader :first_name, :last_name, :email - def after_init(args={}) + def after_init(args = {}) @first_name = args.fetch(:first_name, nil) @last_name = args.fetch(:last_name, nil) @email = args.fetch(:email, nil) - @primary_member_id = args.fetch(:primary_member_id, nil) end def object_class Centaman::Object::CostRate end