Sha256: f72ca0c544817b5d8f1f210cf8d8423b263e94b28dfe21a0d48dd4a35020333b

Contents?: true

Size: 152 Bytes

Versions: 8

Compression:

Stored size: 152 Bytes

Contents

module EWayClient
  class GenActionName

    def self.call(klass)
      klass.name.demodulize.gsub(/Request$/, "").underscore.to_sym
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
e_way_client-2.1.0 lib/e_way_client/services/gen_action_name.rb
e_way_client-2.0.0 lib/e_way_client/services/gen_action_name.rb
e_way_client-1.2.1 lib/e_way_client/services/gen_action_name.rb
e_way_client-1.2.0 lib/e_way_client/services/gen_action_name.rb
e_way_client-1.1.0 lib/e_way_client/services/gen_action_name.rb
e_way_client-1.0.1 lib/e_way_client/services/gen_action_name.rb
e_way_client-1.0.0 lib/e_way_client/services/gen_action_name.rb
e_way_client-0.2.0 lib/e_way_client/services/gen_action_name.rb